package com.atguigu.webadmin.mapper;

import com.atguigu.model.pojo.ApartmentInfo;
import com.atguigu.webadmin.vo.apartment.ApartmentItemVo;
import com.atguigu.webadmin.vo.apartment.ApartmentQueryVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;


/**
 * @Author 梅超凡
 * @Date 2024/11/13~10:10
 * @Description 针对表【apartment_info(公寓信息表)】的数据库操作Mapper
*/
public interface ApartmentInfoMapper extends BaseMapper<ApartmentInfo> {

    IPage<ApartmentItemVo> pageItemApartmentItemByQuery(@Param("page") IPage<ApartmentItemVo> page, @Param("queryVo") ApartmentQueryVo queryVo);

    ApartmentInfo selectApartmentInfoById(Long apartmentId);

}




